package top.laoliu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * @Author: acer
 * @Date: 2020/10/18 13:43
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Getter
@Setter
public class ResumeVo {
    private Integer user_id;
    private String name;
    private String sex;
    private Integer age;
    private String native_place;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date birthday;
    private String education;
    private String work_year;
    private String phone;
    private String id_card;
    private String email;
    private String city;
    private String person_pic;
    private String introduction;
    private String position_applied;
    private String expect_city;
    private String expect_salary;
    private String postscript;


    private Integer edu_id;
    private String school;
    private String college;
    private String major;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date edu_start_time;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date edu_end_time;
    private String edu_statement;

    private Integer skill_id;
    private String skill;

    private Integer experience_id;
    private String company;
    private String practical_position;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date practical_start_time;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date practical_end_time;

    private Integer project_id;
    private String project;
    private String project_position;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date project_start_time;
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm")
    @JsonFormat(
            pattern = "yyyy/MM/dd HH:mm",
            timezone = "GMT+8"
    )
    private Date project_end_time;
    private String project_statement;
}
